package com.vip.oauth2.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vip.common.response.Result;
import com.vip.database.entity.SysUser;
import com.vip.oauth2resource.util.CustomUserDetail;

/**
 * 用户Service
 *
 * @author wgb
 * @date 2020/3/20 16:18
 */
public interface ISysUserService extends IService<SysUser> {

    /**
     * 用户登录
     *
     * @param username
     * @param password
     * @return
     */
    Result<CustomUserDetail> userLogin(String username, String password);


}
